package com.zjgsu.coursecalendar.repository;

import com.zjgsu.coursecalendar.model.Lesson;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import javax.persistence.criteria.CriteriaBuilder;

@Repository
public interface LessonRepository extends JpaRepository<Lesson,Integer> {
    public Lesson findLessonByLessonId(Integer lessonId);
}
